﻿

using System.Data.Objects;

namespace BestCode.Creds.View.Model
{
    public class DataFactory
    {
        private static DataFactory instance = null;

        public static DataFactory Current
        {
            get { return instance ?? (instance = new DataFactory()); }
        }

        public DataFactory()
        {
                DBContext = new CREDSEntities();
            
        }

        public CREDSEntities DBContext { get; private set; }




    }



}
